package shoppingmall.manage.dto;

/**
 * ***该包下存放与前端交互的相关类
 * **该类下存放与前端交互的对象，响应对象
 * *商品订单类--->响应给前端的订单信息
 */
public class CommodityOrderVO {
    private int id;  //主键id
    private String orderId;  //订单号
    private String commodityName;  //订单对应的商品名称
    private String username;  //该订单所属用户的用户名
    private String commodityStandardStr;  //订单对应的商品的规格描述
    private int commodityCount;  //对应的商品数量
    private int orderTotalPrice;  //订单总价
    private String orderState;  //订单状态(此处采用字符串描述，可能用数字表示更好)
    private String linkUser;  //订单收货人联系人
    private String linkPhone;  //订单收货人电话
    private String linkAddress;  //订单收货人地址
    private String logisticsInfo;  //订单对应的物流信息
    private String orderRemark;  //订单备注
    private String createTime;  //订单创建时间
    private String updateTime;  //订单更新时间

    public CommodityOrderVO() {
    }
    public CommodityOrderVO(int id, String orderId, String commodityName, String username, String commodityStandardStr, int commodityCount, int orderTotalPrice, String orderState, String linkUser, String linkPhone, String linkAddress, String logisticsInfo, String orderRemark, String createTime, String updateTime) {
        this.id = id;
        this.orderId = orderId;
        this.commodityName = commodityName;
        this.username = username;
        this.commodityStandardStr = commodityStandardStr;
        this.commodityCount = commodityCount;
        this.orderTotalPrice = orderTotalPrice;
        this.orderState = orderState;
        this.linkUser = linkUser;
        this.linkPhone = linkPhone;
        this.linkAddress = linkAddress;
        this.logisticsInfo = logisticsInfo;
        this.orderRemark = orderRemark;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCommodityStandardStr() {
        return commodityStandardStr;
    }

    public void setCommodityStandardStr(String commodityStandardStr) {
        this.commodityStandardStr = commodityStandardStr;
    }

    public int getCommodityCount() {
        return commodityCount;
    }

    public void setCommodityCount(int commodityCount) {
        this.commodityCount = commodityCount;
    }

    public int getOrderTotalPrice() {
        return orderTotalPrice;
    }

    public void setOrderTotalPrice(int orderTotalPrice) {
        this.orderTotalPrice = orderTotalPrice;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getLinkUser() {
        return linkUser;
    }

    public void setLinkUser(String linkUser) {
        this.linkUser = linkUser;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkAddress() {
        return linkAddress;
    }

    public void setLinkAddress(String linkAddress) {
        this.linkAddress = linkAddress;
    }

    public String getLogisticsInfo() {
        return logisticsInfo;
    }

    public void setLogisticsInfo(String logisticsInfo) {
        this.logisticsInfo = logisticsInfo;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
